import VueRouter from 'vue-router'


// 导入对应的路由组件
import Home from './components/tabbar/HomeCon.vue'
import Vip from './components/tabbar/vipCon.vue'
import Shopcar from './components/tabbar/shopcarCon.vue'
import Search from './components/tabbar/searchCon.vue'




// 创建路由对象
var router = new VueRouter({
    routes: [
        {path:'/home', component: Home },
        {path:'/vip', component: Vip},
        {path:'/shopcar', component:Shopcar },
        {path:'/searttcyy', component: Search}
      
    ],
    linkActiveClass: 'mui-active'
})
// 把路由暴露出去
export default router